projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd74ea
)
gl renderer: Don't upload GL textures into the icon cache
author
Timm Bäder
<mail@baedert.org>
Sat, 29 Jun 2019 05:13:10 +0000
(07:13 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sat, 29 Jun 2019 05:15:43 +0000
(07:15 +0200)
gsk/gl/gskglrenderer.c
patch
|
blob
|
history
diff --git
a/gsk/gl/gskglrenderer.c
b/gsk/gl/gskglrenderer.c
index 9a3bd13e760a205044b2ea024df1d0504d4dbcd2..0597785929f12f8026b1e92e0266e8bf31d895e9 100644
(file)
--- a/
gsk/gl/gskglrenderer.c
+++ b/
gsk/gl/gskglrenderer.c
@@
-808,7
+808,8
@@
upload_texture (GskGLRenderer *self,
int texture_id;
if (texture->width <= 128 &&
- texture->height <= 128)
+ texture->height <= 128 &&
+ !GDK_IS_GL_TEXTURE (texture))
{
graphene_rect_t trect;